package com.hoshiibuy.sys.permission.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.common.rpc.Response;
import com.hoshiibuy.sys.permission.entity.SysPermissiones;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author Mr.Wu
 * @since 2019-04-18
 */
public interface ISysPermissionesService extends IService<SysPermissiones> {
	public Response addPermission(SysPermissiones param);

	public Response updatePermissionById(SysPermissiones param);

	public Response deletePermissionById(String id);

	public Response getDetail(String id);

	public Response getList(QueryWrapper<SysPermissiones> queryWrapper);

	public Response getPage(IPage<SysPermissiones> page, QueryWrapper<SysPermissiones> queryWrapper);

	public Response getChildList(String id);
}
